<template>
  <div id="myHeader">
    <mt-header fixed title="">
      <router-link slot="left" to="/">
        <mt-button icon="back"></mt-button>
      </router-link>
      <mt-button slot="right">
        <router-link class="link" to="/username">注册</router-link>
        <router-link class="link" to="/denglu">登录</router-link>
      </mt-button>
    </mt-header>
  </div>
</template>
<style scoped>
span,
img {
  width: 20px;
  vertical-align: middle;
  box-sizing: border-box;
}
.link {
  color: white;
  margin: 10px;
}
</style>